package com.sample.dao.mapper;

import com.sample.annotation.MasterMapper;
import com.sample.dao.entity.User;

import java.util.Map;

/**
 * Created by zhaolulun on 2017/6/5.
 */
@MasterMapper
public interface UserMapper {
    int insert(User user);

    Map<String, Object> select();

    User selectById(int id);
}
